#ifndef LONGNUMBER_H
#define LONGNUMBER_H

#include <QObject>
#include <QLinkedList>

class LongNumber {
public:
  explicit LongNumber(QString str);
  LongNumber operator += (const LongNumber &number);
  LongNumber operator + (const LongNumber &number);
  QString toString() const;
  int numOfDigits() const;
private:
  QLinkedList<short> list;
};

#endif // LONGNUMBER_H
